package com.dw.etl.core.bean.model;

import java.io.Serializable;

public class EtlBase implements Serializable {

	private static final long serialVersionUID = 1L;

	private Long idBase;

	private Long sdJbcls;

	private String naJbcls;

	private Long idDbSou;

	private String naDbSou;

	private Long idDbTar;

	private String naDbTar;

	private String tbTar;

	private String del;

	private String qsql;

	private String idJb;

	private Byte fgCreAuto;

	public Long getIdBase() {
	    return idBase;
	}

	public void setIdBase(Long idBase) {
	    this.idBase = idBase;
	}

	public Long getSdJbcls() {
	    return sdJbcls;
	}

	public void setSdJbcls(Long sdJbcls) {
	    this.sdJbcls = sdJbcls;
	}

	public Byte getFgCreAuto() {
	    return fgCreAuto;
	}

	public void setFgCreAuto(Byte fgCreAuto) {
	    this.fgCreAuto = fgCreAuto;
	}

	public String getIdJb() {
	    return idJb;
	}

	public void setIdJb(String idJb) {
	    this.idJb = idJb;
	}

	public String getNaJbcls() {
	    return naJbcls;
	}

	public void setNaJbcls(String naJbcls) {
	    this.naJbcls = naJbcls;
	}

	public Long getIdDbSou() {
	    return idDbSou;
	}

	public void setIdDbSou(Long idDbSou) {
	    this.idDbSou = idDbSou;
	}

	public String getNaDbSou() {
	    return naDbSou;
	}

	public void setNaDbSou(String naDbSou) {
	    this.naDbSou = naDbSou;
	}

	public Long getIdDbTar() {
	    return idDbTar;
	}

	public void setIdDbTar(Long idDbTar) {
	    this.idDbTar = idDbTar;
	}

	public String getNaDbTar() {
	    return naDbTar;
	}

	public void setNaDbTar(String naDbTar) {
	    this.naDbTar = naDbTar;
	}

	public String getTbTar() {
	    return tbTar;
	}

	public void setTbTar(String tbTar) {
	    this.tbTar = tbTar;
	}

	public String getDel() {
	    return del;
	}

	public void setDel(String del) {
	    this.del = del;
	}

	public String getQsql() {
	    return qsql;
	}

	public void setQsql(String qsql) {
	    this.qsql = qsql;
	}

	@Override
	public boolean equals(Object that) {
	    if (this == that) {
	        return true;
	    }
	    if (that == null) {
	        return false;
	    }
	    if (getClass() != that.getClass()) {
	        return false;
	    }
	    EtlBase other = (EtlBase) that;
	    return (this.getIdBase() == null ? other.getIdBase() == null : this.getIdBase().equals(other.getIdBase())) && (this.getSdJbcls() == null ? other.getSdJbcls() == null : this.getSdJbcls().equals(other.getSdJbcls())) && (this.getFgCreAuto() == null ? other.getFgCreAuto() == null : this.getFgCreAuto().equals(other.getFgCreAuto())) && (this.getIdJb() == null ? other.getIdJb() == null : this.getIdJb().equals(other.getIdJb())) && (this.getNaJbcls() == null ? other.getNaJbcls() == null : this.getNaJbcls().equals(other.getNaJbcls())) && (this.getIdDbSou() == null ? other.getIdDbSou() == null : this.getIdDbSou().equals(other.getIdDbSou())) && (this.getNaDbSou() == null ? other.getNaDbSou() == null : this.getNaDbSou().equals(other.getNaDbSou())) && (this.getIdDbTar() == null ? other.getIdDbTar() == null : this.getIdDbTar().equals(other.getIdDbTar())) && (this.getNaDbTar() == null ? other.getNaDbTar() == null : this.getNaDbTar().equals(other.getNaDbTar())) && (this.getTbTar() == null ? other.getTbTar() == null : this.getTbTar().equals(other.getTbTar())) && (this.getDel() == null ? other.getDel() == null : this.getDel().equals(other.getDel())) && (this.getQsql() == null ? other.getQsql() == null : this.getQsql().equals(other.getQsql()));
	}

	@Override
	public int hashCode() {
	    final int prime = 31;
	    int result = 1;
	    result = prime * result + ((getIdBase() == null) ? 0 : getIdBase().hashCode());
	    result = prime * result + ((getSdJbcls() == null) ? 0 : getSdJbcls().hashCode());
	    result = prime * result + ((getFgCreAuto() == null) ? 0 : getFgCreAuto().hashCode());
	    result = prime * result + ((getIdJb() == null) ? 0 : getIdJb().hashCode());
	    result = prime * result + ((getNaJbcls() == null) ? 0 : getNaJbcls().hashCode());
	    result = prime * result + ((getIdDbSou() == null) ? 0 : getIdDbSou().hashCode());
	    result = prime * result + ((getNaDbSou() == null) ? 0 : getNaDbSou().hashCode());
	    result = prime * result + ((getIdDbTar() == null) ? 0 : getIdDbTar().hashCode());
	    result = prime * result + ((getNaDbTar() == null) ? 0 : getNaDbTar().hashCode());
	    result = prime * result + ((getTbTar() == null) ? 0 : getTbTar().hashCode());
	    result = prime * result + ((getDel() == null) ? 0 : getDel().hashCode());
	    result = prime * result + ((getQsql() == null) ? 0 : getQsql().hashCode());
	    return result;
	}

	@Override
	public String toString() {
	    StringBuilder sb = new StringBuilder();
	    sb.append(getClass().getSimpleName());
	    sb.append(" [");
	    sb.append("Hash = ").append(hashCode());
	    sb.append(", serialVersionUID=").append(serialVersionUID);
	    sb.append(", idBase=").append(idBase);
	    sb.append(", sdJbcls=").append(sdJbcls);
	    sb.append(", fgCreAuto=").append(fgCreAuto);
	    sb.append(", idJb=").append(idJb);
	    sb.append(", naJbcls=").append(naJbcls);
	    sb.append(", idDbSou=").append(idDbSou);
	    sb.append(", naDbSou=").append(naDbSou);
	    sb.append(", idDbTar=").append(idDbTar);
	    sb.append(", naDbTar=").append(naDbTar);
	    sb.append(", tbTar=").append(tbTar);
	    sb.append(", del=").append(del);
	    sb.append(", qsql=").append(qsql);
	    sb.append("]");
	    return sb.toString();
	}


}